home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
hity wydania
/
Bank smakow
/
BankSmakow.air
/
BankSmakow.swf
/
scripts
/
_com_makingwaves_view_BackgroundViewWatcherSetupUtil.as
< prev
next >
Wrap
Text File
|
2009-12-16
|
2KB
|
38 lines
package
{
import com.makingwaves.view.BackgroundView;
import flash.display.Sprite;
import mx.binding.IWatcherSetupUtil;
import mx.binding.PropertyWatcher;
import mx.core.IFlexModuleFactory;
public class _com_makingwaves_view_BackgroundViewWatcherSetupUtil extends Sprite implements IWatcherSetupUtil
{
public function _com_makingwaves_view_BackgroundViewWatcherSetupUtil()
{
super();
}
public static function init(param1:IFlexModuleFactory) : void
{
BackgroundView.watcherSetupUtil = new _com_makingwaves_view_BackgroundViewWatcherSetupUtil();
}
public function setup(param1:Object, param2:Function, param3:Array, param4:Array) : void
{
param4[1] = new PropertyWatcher("pomaranczowa",{"propertyChange":true},[param3[1]],param2);
param4[4] = new PropertyWatcher("kwiatki",{"propertyChange":true},[param3[5]],param2);
param4[3] = new PropertyWatcher("zielona",{"propertyChange":true},[param3[4],param3[3]],param2);
param4[2] = new PropertyWatcher("rozowa",{"propertyChange":true},[param3[2]],param2);
param4[0] = new PropertyWatcher("krata",{"propertyChange":true},[param3[0]],param2);
param4[1].updateParent(param1);
param4[4].updateParent(param1);
param4[3].updateParent(param1);
param4[2].updateParent(param1);
param4[0].updateParent(param1);
}
}
}